package com.example.b_classAndObject

import com.example.CurrencyUtil
import com.example.NumberUtil


/**
@author whd
@date 2023/10/21 15:33:04
 */
class a_inherit {

}

fun main() {
  val i = CurrencyUtil.changeY2F(0.05) + CurrencyUtil.changeY2F(0.01)
  val changeF2Y = CurrencyUtil.changeF2Y(i)
  println(changeF2Y.toString())
  println(NumberUtil.numberToChinese(22))


  val strings = "22.32,33.40".split(',')
  strings.forEach { println(it.toDouble()) }

  val split = "1,,2".split(',')
  println(split[2].isEmpty())

}
